package com.jms.crawler.util;

import java.util.Date;

public class ServiceType {
    public final static String WEIBO_SERVICE = "WeiboService";

    public static String getServiceName(String type) {
        String dateMark = String.valueOf(new Date().getTime());
        String typeMark = "";
        switch (type) {
            case WEIBO_SERVICE:
                typeMark = WEIBO_SERVICE;
                break;
            default:
                typeMark =  "NoService";
        }
        return typeMark + dateMark;
    }
}
